sudo apt install jekyll

gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/
bundle config mirror.https://rubygems.org https://mirrors.tuna.tsinghua.edu.cn/rubygems

jekyll new my-awesome-site
cd my-awesome-site
jekyll serve
# localhost:4000